package com.example.deepai.model;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UIElement {
    private Long id;
    private String type;
    private int x;
    private int y;
    private int width;
    private int height;
    private String text;
    private boolean enabled;
    private boolean visible;
    
    // 用于创建基本UI元素的构造函数
    public UIElement(String type, int x, int y, int width, int height) {
        this.type = type;
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
        this.enabled = true;
        this.visible = true;
    }
}